import React from 'react';
import './fo.css';
var names = ['Alice', 'Emily', 'Kate'];
function fo() {
    return (
        <div className="fo">
        {/* 表达式 括号表示 */}
            {
                names.map(function (name, index) {
                    return <div className='fo_head' key={index}>Hello, {name}!</div>
                })
            }
        </div> 
  )
}

export default fo